import http from '@/utils/request'

//新增菜品
export const addDishApi = (data) => {
  return http({
    url: '/dish',
    method: "post",
    data
  })
}


//获取菜品列表
export const getDishListApi = (params) => {
  return http({
    url: '/dish',
    method: "get",
    params
  })
}